package org.net5ijy.commons.web.util;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

/**
 * PasswordEncoderUtil类
 *
 * @author xuguofeng
 * @date 2019/5/29 10:04
 */
public class PasswordEncoderUtil {

  public static String bCryptPasswordEncode(String password) {
    return new BCryptPasswordEncoder().encode(password);
  }
}
